﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class DangNhapBUS
    {
        public static int DangNhap(string tenDangNhap, string matKhau)
        {
            return DangNhapDAO.DangNhap(tenDangNhap, matKhau);
        }
        public static int ThayDoiMatKhau(string tenDangNhap, string matKhauCu,string matKhauMoi)
        {
            return DangNhapDAO.ThayDoiMatKhau(tenDangNhap, matKhauCu, matKhauMoi);
        }
    }
}
